package com.njtoyo.taxi.admin.rest.wrapper.business.taxis;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Objects;

@ApiModel("车辆查询")
@Data
public class TaxiQueryListWrapper extends Page<TaxiQueryListWrapper> {

    public TaxiQueryListWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty(value = "选中的公司ID")
    private List<Long> companyId;

    @ApiModelProperty(value = "行政区id")
    private Long cantonId;

    @ApiModelProperty(value = "是否报废")
    private Boolean isScrapped;

    @ApiModelProperty(value = "车牌号")
    private String plateNumber;

    @ApiModelProperty(value = "是否在线")
    private Boolean is_available;
    
    @ApiModelProperty(value = "行政区id")
    private List<Long> cantonIds;


}
